

#include "ParamHandler.h"

ParamHandler::ParamHandler() {
	setDefaultParameters();
}

ParamHandler::~ParamHandler() {
	// Nothing to do
}

void ParamHandler::setDefaultParameters() {
	numEventTypes = 10;
	numNames = 1000;
	numStringValues = 200;

	maxNumAttributes = 4;
	minNumAttributes = 1;
	maxIntValue = 1000;
	minIntValue = 5;


	pubNum = 10000;
	subNum = 400;
	queueSize = 100;
	sleepTime = 10*1000; // Microseconds

	numInterfaces = 8;
	maxWindowSize = 300*1000; // Milliseconds
	percIntEq = 20;
	percIntGt = 40;
	percIntLt = 40;

	eventInputDistribution = NORMAL;
	subsInputDistribution = NORMAL;
	windowSizeDistribution = NORMAL;

	incremento = 1;

	/*
	 numEventTypes = 10;
	numNames = 100;
	numStringValues = 20;

	maxNumAttributes = 4;
	minNumAttributes = 1;
	maxIntValue = 1000;
	minIntValue = 5;


	pubNum = 10000;
	subNum = 200;
	queueSize = 100;
	sleepTime = 10*1000; // Microseconds

	numInterfaces = 1;
	maxWindowSize = 300*1000; // Milliseconds
	percIntEq = 40;
	percIntGt = 30;
	percIntLt = 30;
	 */

}
